package edu.zju.gis.dbfg.server.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "settings")
@ToString
@Getter
@Setter
public class CommonSetting {
    private String SelfDataNameSpace;
    private String sparkHome;
    private String hadoopHome;
    private String yarnHome;
    private String templatePath;
    private String jarPath;
    private String picPath;
    private String userSpaceRootPath;
    private String nameNode;
    private String username;
    private String password;
    private String parallelFilePath;
    private String jobMonitor;
    private int monitorInterval;
    private int jobFailInterval;
    private String jobResultPath;
    private List<String> frontEndRegionList;
    private String sessionMaxAge;
    private int initTaskPoolSize;
    private int maxTaskPoolSize;
    private int keepAliveSeconds;
    private int queueCapacity;
    private String airFlowHome;
    private String airFlowDagsPath;
}
